package com.tjetc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tjetc.entity.ElderInfo;

import java.util.List;
import java.util.Map;

public interface ElderInfoMapper extends BaseMapper<ElderInfo> {
    Page<ElderInfo> selectPageLikeName(Page<ElderInfo> pageElderInfo,Short gender,Short healthStatus, String name);
    Long selectCaregiverId(Long id);
    Long selectcsManagerId(Long id);
    List<Map<String, Object>> getElderList();
}
